#! /usr/bin/python
# coding: utf-8

from Tkinter import *

root = Tk()
root.geometry('800x600')

fm1 = Frame(root, bg='red', width=140, height=140)
fm2 = Frame(root, bg='blue', width=140, height=140)
fm3 = Frame(fm1, bg='yellow', width=120, height=120)

lb1 = Label(fm1, text='hello Place label xxxxxxxxxxxxxxxxxxxx xxxxx', fg='green')
lb1.place(in_=fm1, relx=0.5, rely=0.5, anchor=CENTER)

bt1 = Button(fm1, text='hello Place bt1', fg='red')
# bt1.place(in_=fm2, anchor=W)
bt1.place(in_=fm3, anchor=NW)

fm1.pack(fill=BOTH, expand=1)
fm2.pack(fill=BOTH, expand=1)
fm3.pack(fill=Y, expand=0)

root.mainloop()
